<?php

namespace ms\modules\article\models;

use Yii;

/**
 * This is the model class for table "dh_article_ad".
 *
 * @property integer $id
 * @property integer $ad_position
 */
class ArticleAd extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'dh_article_ad';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ad_position'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'ad_position' => 'Ad Position',
        ];
    }
}
